package org.dromara.system.pojo.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.dromara.common.web.core.domain.BaseBO;

import java.io.Serial;

/**
 * 用户和角色关联表 BO。
 *
 * @author mkj
 * @since 2024-07-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户和角色关联表")
public class SysUserRoleBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "主键")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "角色ID")
    private Long roleId;
}
